package com.oj.job.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.oj.common.mybatis.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description
 * @Author bin
 * @Date 2025/6/3
 */
@Data
@TableName("tb_exam")
public class Exam extends BaseEntity {

    @TableId(value = "exam_id",type = IdType.ASSIGN_ID)
    private Long examId;

    @TableField(value = "title")
    private String title;


    private LocalDateTime startTime;


    private LocalDateTime endTime;

    private Integer status;

}
